package cn.kp.learning.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrganizationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer startRow = 0;
    
    protected Integer pageSize;
    
    public Integer getStartRow() {
		return startRow;
	}

	public void setStartRow(Integer startRow) {
		this.startRow = startRow;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public OrganizationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(String value) {
            addCriterion("org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(String value) {
            addCriterion("org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(String value) {
            addCriterion("org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(String value) {
            addCriterion("org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(String value) {
            addCriterion("org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLike(String value) {
            addCriterion("org_id like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotLike(String value) {
            addCriterion("org_id not like", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<String> values) {
            addCriterion("org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<String> values) {
            addCriterion("org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(String value1, String value2) {
            addCriterion("org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(String value1, String value2) {
            addCriterion("org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIsNull() {
            addCriterion("org_company is null");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIsNotNull() {
            addCriterion("org_company is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyEqualTo(String value) {
            addCriterion("org_company =", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyNotEqualTo(String value) {
            addCriterion("org_company <>", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyGreaterThan(String value) {
            addCriterion("org_company >", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("org_company >=", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyLessThan(String value) {
            addCriterion("org_company <", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyLessThanOrEqualTo(String value) {
            addCriterion("org_company <=", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyLike(String value) {
            addCriterion("org_company like", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyNotLike(String value) {
            addCriterion("org_company not like", value, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIn(List<String> values) {
            addCriterion("org_company in", values, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyNotIn(List<String> values) {
            addCriterion("org_company not in", values, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyBetween(String value1, String value2) {
            addCriterion("org_company between", value1, value2, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyNotBetween(String value1, String value2) {
            addCriterion("org_company not between", value1, value2, "orgCompany");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdIsNull() {
            addCriterion("org_company_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdIsNotNull() {
            addCriterion("org_company_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdEqualTo(String value) {
            addCriterion("org_company_id =", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdNotEqualTo(String value) {
            addCriterion("org_company_id <>", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdGreaterThan(String value) {
            addCriterion("org_company_id >", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_company_id >=", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdLessThan(String value) {
            addCriterion("org_company_id <", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("org_company_id <=", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdLike(String value) {
            addCriterion("org_company_id like", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdNotLike(String value) {
            addCriterion("org_company_id not like", value, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdIn(List<String> values) {
            addCriterion("org_company_id in", values, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdNotIn(List<String> values) {
            addCriterion("org_company_id not in", values, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdBetween(String value1, String value2) {
            addCriterion("org_company_id between", value1, value2, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgCompanyIdNotBetween(String value1, String value2) {
            addCriterion("org_company_id not between", value1, value2, "orgCompanyId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIsNull() {
            addCriterion("org_department is null");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIsNotNull() {
            addCriterion("org_department is not null");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentEqualTo(String value) {
            addCriterion("org_department =", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentNotEqualTo(String value) {
            addCriterion("org_department <>", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentGreaterThan(String value) {
            addCriterion("org_department >", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("org_department >=", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentLessThan(String value) {
            addCriterion("org_department <", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentLessThanOrEqualTo(String value) {
            addCriterion("org_department <=", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentLike(String value) {
            addCriterion("org_department like", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentNotLike(String value) {
            addCriterion("org_department not like", value, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIn(List<String> values) {
            addCriterion("org_department in", values, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentNotIn(List<String> values) {
            addCriterion("org_department not in", values, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentBetween(String value1, String value2) {
            addCriterion("org_department between", value1, value2, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentNotBetween(String value1, String value2) {
            addCriterion("org_department not between", value1, value2, "orgDepartment");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdIsNull() {
            addCriterion("org_department_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdIsNotNull() {
            addCriterion("org_department_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdEqualTo(String value) {
            addCriterion("org_department_id =", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdNotEqualTo(String value) {
            addCriterion("org_department_id <>", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdGreaterThan(String value) {
            addCriterion("org_department_id >", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_department_id >=", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdLessThan(String value) {
            addCriterion("org_department_id <", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdLessThanOrEqualTo(String value) {
            addCriterion("org_department_id <=", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdLike(String value) {
            addCriterion("org_department_id like", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdNotLike(String value) {
            addCriterion("org_department_id not like", value, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdIn(List<String> values) {
            addCriterion("org_department_id in", values, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdNotIn(List<String> values) {
            addCriterion("org_department_id not in", values, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdBetween(String value1, String value2) {
            addCriterion("org_department_id between", value1, value2, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgDepartmentIdNotBetween(String value1, String value2) {
            addCriterion("org_department_id not between", value1, value2, "orgDepartmentId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIsNull() {
            addCriterion("org_office is null");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIsNotNull() {
            addCriterion("org_office is not null");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeEqualTo(String value) {
            addCriterion("org_office =", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeNotEqualTo(String value) {
            addCriterion("org_office <>", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeGreaterThan(String value) {
            addCriterion("org_office >", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeGreaterThanOrEqualTo(String value) {
            addCriterion("org_office >=", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeLessThan(String value) {
            addCriterion("org_office <", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeLessThanOrEqualTo(String value) {
            addCriterion("org_office <=", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeLike(String value) {
            addCriterion("org_office like", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeNotLike(String value) {
            addCriterion("org_office not like", value, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIn(List<String> values) {
            addCriterion("org_office in", values, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeNotIn(List<String> values) {
            addCriterion("org_office not in", values, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeBetween(String value1, String value2) {
            addCriterion("org_office between", value1, value2, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeNotBetween(String value1, String value2) {
            addCriterion("org_office not between", value1, value2, "orgOffice");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdIsNull() {
            addCriterion("org_office_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdIsNotNull() {
            addCriterion("org_office_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdEqualTo(String value) {
            addCriterion("org_office_id =", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdNotEqualTo(String value) {
            addCriterion("org_office_id <>", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdGreaterThan(String value) {
            addCriterion("org_office_id >", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_office_id >=", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdLessThan(String value) {
            addCriterion("org_office_id <", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdLessThanOrEqualTo(String value) {
            addCriterion("org_office_id <=", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdLike(String value) {
            addCriterion("org_office_id like", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdNotLike(String value) {
            addCriterion("org_office_id not like", value, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdIn(List<String> values) {
            addCriterion("org_office_id in", values, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdNotIn(List<String> values) {
            addCriterion("org_office_id not in", values, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdBetween(String value1, String value2) {
            addCriterion("org_office_id between", value1, value2, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgOfficeIdNotBetween(String value1, String value2) {
            addCriterion("org_office_id not between", value1, value2, "orgOfficeId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIsNull() {
            addCriterion("org_group is null");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIsNotNull() {
            addCriterion("org_group is not null");
            return (Criteria) this;
        }

        public Criteria andOrgGroupEqualTo(String value) {
            addCriterion("org_group =", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupNotEqualTo(String value) {
            addCriterion("org_group <>", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupGreaterThan(String value) {
            addCriterion("org_group >", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupGreaterThanOrEqualTo(String value) {
            addCriterion("org_group >=", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupLessThan(String value) {
            addCriterion("org_group <", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupLessThanOrEqualTo(String value) {
            addCriterion("org_group <=", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupLike(String value) {
            addCriterion("org_group like", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupNotLike(String value) {
            addCriterion("org_group not like", value, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIn(List<String> values) {
            addCriterion("org_group in", values, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupNotIn(List<String> values) {
            addCriterion("org_group not in", values, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupBetween(String value1, String value2) {
            addCriterion("org_group between", value1, value2, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupNotBetween(String value1, String value2) {
            addCriterion("org_group not between", value1, value2, "orgGroup");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdIsNull() {
            addCriterion("org_group_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdIsNotNull() {
            addCriterion("org_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdEqualTo(String value) {
            addCriterion("org_group_id =", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdNotEqualTo(String value) {
            addCriterion("org_group_id <>", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdGreaterThan(String value) {
            addCriterion("org_group_id >", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("org_group_id >=", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdLessThan(String value) {
            addCriterion("org_group_id <", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdLessThanOrEqualTo(String value) {
            addCriterion("org_group_id <=", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdLike(String value) {
            addCriterion("org_group_id like", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdNotLike(String value) {
            addCriterion("org_group_id not like", value, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdIn(List<String> values) {
            addCriterion("org_group_id in", values, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdNotIn(List<String> values) {
            addCriterion("org_group_id not in", values, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdBetween(String value1, String value2) {
            addCriterion("org_group_id between", value1, value2, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andOrgGroupIdNotBetween(String value1, String value2) {
            addCriterion("org_group_id not between", value1, value2, "orgGroupId");
            return (Criteria) this;
        }

        public Criteria andValidIsNull() {
            addCriterion("valid is null");
            return (Criteria) this;
        }

        public Criteria andValidIsNotNull() {
            addCriterion("valid is not null");
            return (Criteria) this;
        }

        public Criteria andValidEqualTo(Integer value) {
            addCriterion("valid =", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotEqualTo(Integer value) {
            addCriterion("valid <>", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThan(Integer value) {
            addCriterion("valid >", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThanOrEqualTo(Integer value) {
            addCriterion("valid >=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThan(Integer value) {
            addCriterion("valid <", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThanOrEqualTo(Integer value) {
            addCriterion("valid <=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidIn(List<Integer> values) {
            addCriterion("valid in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotIn(List<Integer> values) {
            addCriterion("valid not in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidBetween(Integer value1, Integer value2) {
            addCriterion("valid between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotBetween(Integer value1, Integer value2) {
            addCriterion("valid not between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNull() {
            addCriterion("update_user_name is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNotNull() {
            addCriterion("update_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameEqualTo(String value) {
            addCriterion("update_user_name =", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotEqualTo(String value) {
            addCriterion("update_user_name <>", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThan(String value) {
            addCriterion("update_user_name >", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("update_user_name >=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThan(String value) {
            addCriterion("update_user_name <", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThanOrEqualTo(String value) {
            addCriterion("update_user_name <=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLike(String value) {
            addCriterion("update_user_name like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotLike(String value) {
            addCriterion("update_user_name not like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIn(List<String> values) {
            addCriterion("update_user_name in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotIn(List<String> values) {
            addCriterion("update_user_name not in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameBetween(String value1, String value2) {
            addCriterion("update_user_name between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotBetween(String value1, String value2) {
            addCriterion("update_user_name not between", value1, value2, "updateUserName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}